package com.gw.business.analysis.service.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.gw.business.analysis.model.UserTrackBasic;
import com.gw.business.analysis.model.UserTrackDataStatistics;
import com.gw.business.analysis.service.UserTrackBasicService;
import com.gw.platform.service.impl.DefaultService;

@Service
public class UserTrackBasicServiceImpl extends DefaultService implements UserTrackBasicService {

	@Override
	public List<UserTrackBasic> getAll() {
		return (List<UserTrackBasic>) this.find("UserTrackBasic_all");
	}

	@Override
	public List<UserTrackBasic> getGtVisitTime(String visitTime) {
		Map<String, Object> map = new HashMap<String, Object>();
		map.put("visitTime", visitTime);
		return (List<UserTrackBasic>) this.find("UserTrackBasic_visitTime_gt", map);
	}

    @Override
    public List<UserTrackBasic> getClickExceptionData(String visitTime) {
        Map<String, Object> map = new HashMap<String, Object>();
        map.put("visitTime", visitTime);
        return (List<UserTrackBasic>) this.find("getClickExceptionData", map);
    }

	
}
